#ifndef CHECKFORMATTHREAD_H
#define CHECKFORMATTHREAD_H

#include<QString>
#include<QThread>
#include<QFile>
#include<QStringList>
#include<QDebug>

class CheckFormatThread:public QThread
{
    Q_OBJECT
public:
    CheckFormatThread(int type, QString path);
    ~CheckFormatThread();

signals:
    void checkPanFormatDone(bool isLegal);

protected:
    void run();
    int filetype;
    bool formatLegal;
    QString filePath;
};

#endif // CHECKFORMATTHREAD_H
